﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Tailingpond>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	创建尾矿库
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul>
	            <li><a href="/Tailingpond/Index"><span>尾矿库管理</span></a></li>
                <li><a href="javascript:return(false);" class="current"><span>创建尾矿库</span></a></li>
	        </ul>
	    </div>
	</div>

    <% using (Html.BeginForm())
    {%>
        <%: Html.ValidationSummary(true) %>
        <%: Html.HiddenFor(model => model.Id) %>
            
    <table class="tableCss" cellspacing="0" cellpadding="0" align="center" border="0" style="margin-top:10px">
        <tr>
            <th colspan="2" class="heightrow" align="left" style="padding:10px">
                尾矿库信息
            </th>
        </tr>
        <tr>
            <td class="row1" align="right" width="100px">所属公司:</td>
            <td class="row1" align="left">
                <%: Html.DropDownList("FactoryId", ViewData["factories"] as List<SelectListItem>, "请选择公司")%>
                <%: Html.ValidationMessageFor(model => model.FactoryId) %>
            </td>
        </tr>
        <tr>
           <td class="row1" align="right">尾矿库名称:</td>
           <td class="row1" align="left">
                <%: Html.TextBoxFor(model => model.Name) %>
                <%: Html.ValidationMessageFor(model => model.Name) %>
           </td>
        </tr>
        <tr>
            <td  class="row1" align="right">尾矿库描述:</td>
            <td  class="row1" align="left">
                <%: Html.TextAreaFor(model => model.Description, new { cols = "80" , rows = "10" })%>
                <%: Html.ValidationMessageFor(model => model.Description) %>
            </td>
        </tr>
    </table>
    
    <div style="margin-top:25px;text-align:center">
        <input type="submit" value="提    交" style="font-size:16px;font-weight:bold" />
    </div>
    <% } %>
</asp:Content>